package com.bit.demo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/hello")
@RestController
public class HelloController {
    @RequestMapping("/world")
    public String hello(){
        return "hello, Spring Boot!";
    }
}
